
<?php echo form_open('recherche_expo/search'); ?>
<!-- <form action='search.php'> -->
<h2>Search en expo with an address or a name</h2>
<?php $data = array(
              'name'        => 'search',
			  //'id'          => 'search',
          //    'value'       => '',
              	'maxlength'   => '100',
              	'size'        => '50',
				'type' =>'search',
             // 'style'       => 'width:50%',
            );

		echo form_input($data);	
		echo " in ";
		$options = array(
                  'address'  => 'Address',
                  'expo'    => 'Expositions',
                  'piece'   => 'Pieces',
                );

$shirts_on_sale = array('small', 'large');

echo form_dropdown('search_type', $options, 'address');
		
	?>
	
<?php 	echo form_submit('submit', 'Search');
?>
<!--  <input type='text' size='50' name='search'  /> <input type='submit' name='submit' value='Search' />-->

</form>